@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
<div>
    <p>用户名</p><input type="text" id="inputtext"/>
    <div onclick="jump()">跳转</div>
  @*  @Html.ActionLink("nihao", "Here")*@
</div>
<script type="text/javascript">
    function jump() {
        var id = document.getElementById("inputtext").value;
        location.href = '/Account/Index/' + id;
    }
    @*$.ajax({
        type: "post",
        url: "/Account/Index",
        success: function (data) {
            //window.location.href = '/Login/Index';
            window.location.href = '@Url.Action("Account", "Index",new {id= })';
        },
        error: function (err) { }
    });*@

</script>